package com.kyf.config.model;

import com.sun.tools.javac.code.Attribute;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component
public class MyFactoryBean implements FactoryBean<UserServiceImpl> {

	@Override
	public UserServiceImpl getObject() throws Exception {
		return new UserServiceImpl();
	}

	@Override
	public Class<?> getObjectType() {
		return UserServiceImpl.class;
	}

}
